<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'product-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">
		Fields with <span class="required">*</span> are required.
	</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
	<?php echo $form->labelEx($model,'plateID'); ?>
	<?php echo $form->textField($model,'plateID',array('size'=>10,'maxlength'=>10)); ?>
	<?php echo $form->error($model,'plateID'); ?>
	</div>

	<div class="row">
	<?php echo $form->labelEx($model,'livsmedelID'); ?>
	<?php echo $form->textField($model,'livsmedelID',array('size'=>10,'maxlength'=>10)); ?>
	<?php echo $form->error($model,'livsmedelID'); ?>
	</div>

	<div class="row">
	<?php echo $form->labelEx($model,'userID'); ?>
	<?php echo $form->textField($model,'userID',array('size'=>10,'maxlength'=>10)); ?>
	<?php echo $form->error($model,'userID'); ?>
	</div>

	<div class="row">
	<?php echo $form->labelEx($model,'vikt'); ?>
	<?php echo $form->textField($model,'vikt'); ?>
	<?php echo $form->error($model,'vikt'); ?>
	</div>

	<div class="row buttons">
	<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

	<?php $this->endWidget(); ?>

</div>
<!-- form -->
